import { useState } from 'react'
import { routes } from './router/Index'
import {useRoutes,BrowserRouter} from 'react-router-dom'
import './App.css'

function App() {
  const El=()=>useRoutes(routes)

  return (
    <BrowserRouter>
    <El/>
    </BrowserRouter>
  )
}

export default App
